<?php
namespace catchAdmin\basics\request;

use catchAdmin\basics\model\AddData;
use catcher\base\CatchRequest;

class AddDataCreateRequest extends CatchRequest
{

    protected function rules(): array
    {
        // TODO: Implement rules() method.
        return [
            'c_name|中文名称' => 'require|unique:'.AddData::class,
            'e_name|英文名称' => 'require|unique:'.AddData::class,
        ];
    }

    protected function message()
    {
        // TODO: Implement message() method.
    }
}